﻿<aside id="main"><!-- 左边栏 -->
		<header class="logo"><a href="/bbs/index.do"><img src="skin/default/images/public/logo.png" alt="logo" /></a></header>
		<nav>
			<ul>
				<li><a href="/bbs/index.do" class="current"><img src="skin/default/images/public/a_before.png" alt="" />论坛首页</a></li>
				<li><a href="/bbs/index.do?parameter=rule"><img src="skin/default/images/public/a_before.png" alt="" />论坛指南</a></li>
				<li><a href="/bbs/bbsdoc.do?parameter=lastElite"><img src="skin/default/images/public/a_before.png" alt="" />最新精华</a></li>
				<li><a href="/bbs/bbsuser.do?parameter=online"><img src="skin/default/images/public/a_before.png" alt="" />在线用户</a></li>
			#if($user)
				<li><a href="/bbs/bbsfriends.do?parameter=list"><img src="skin/default/images/public/a_before.png" alt="" />我的好友</a></li>
				<li><a href="#" onClick="msgSpan.style.display=(msgSpan.style.display=='none'?'':'none');return false;"><img src="skin/default/images/public/a_before.png" alt="" />我的信息</a></li>
				<li id="msgSpan" style="display:none">
				<table width="90%" border="0">
                  <tr>
                    <td><a href="/bbs/bbsmessage.do?parameter=listUnread">未读邮件（$!unreadcount）</a></td>
                  </tr>
                  <tr>
                    <td><a href="/bbs/bbsmessage.do?parameter=listRecv">收件箱</a></td>
                  </tr>
                  <tr>
                    <td><a href="/bbs/bbsmessage.do?parameter=listSend">发件箱</a></td>
                  </tr>
                  <tr>
                    <td><a href="/bbs/bbsmessage.do?parameter=write">写信</a></td>
                  </tr>
                </table>
				</li>
				<li><a href="bbsuser.do?parameter=control"><img src="skin/default/images/public/a_before.png" alt="" />控制面板</a></li>
            #end
				<li></li>
				<li><a href="/bbs/index.do"><img src="skin/default/images/public/a_before.png" alt="" />论坛主栏目</a></li>
				#foreach($dir in $dirList)
				<li><a href="/bbs/bbsdoc.do?parameter=list&sn=$!dir.sn"><img src="skin/default/images/public/a_before.png" class="hide" alt="" />$!dir.title</a></li>
					#foreach($dir1 in $dir.getChilds())
					<li><a href="/bbs/bbsdoc.do?parameter=list&sn=$!dir1.sn"><img src="skin/default/images/public/a_before.png" class="hide" alt="" />> $!dir1.title</a></li>
					#end
				#end
				<li></li>
				#if($administrator)
				<li><a href="/bbs/config.do?parameter=edit"><img src="skin/default/images/public/a_before.png" alt="" />论坛设置</a></li>
				<li><a href="/bbs/skin.do?parameter=list"><img src="skin/default/images/public/a_before.png" alt="" />风格设置</a></li>
				<li><a href="/bbs/bbsdir.do?parameter=list"><img src="skin/default/images/public/a_before.png" alt="" />版块管理</a></li>
				<li><a href="/bbs/bbsuser.do?parameter=list"><img src="skin/default/images/public/a_before.png" alt="" />用户管理</a></li>
				<li><a href="/bbs/bbsfilter.do?parameter=list"><img src="skin/default/images/public/a_before.png" alt="" />过滤管理</a></li>
				<li><a href="/bbs/bbsvote.do?parameter=list"><img src="skin/default/images/public/a_before.png" alt="" />投票管理</a></li>
				#end
				#if($user)
				<li><a href="/bbs/bbsuser.do?parameter=logout" onClick="return confirm('您真的注销登录信息吗？');"><img src="skin/default/images/public/a_before.png" alt="" />我要退出</a></li>
				#end
			</ul>
		</nav>
</aside>